package com.sinog.biz.service.business;

import com.sinog.core.model.UserDTO;
import com.sinog.core.utilbean.Result;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc 安置帮教管理 - 帮教工作信息管理 - 帮教管理 - 排查信息
 * @author sunsf
 * @date 2020-02-07-16:40
 */
@RestController
public interface BjgzPaichaInfoMainService {

    /**
     * 帮教工作管理 - 帮教管理 - 帮教信息 - 排查保存
     * @param dataStr 业务数据
     * @param user user
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/saveBjPcInfo")
    Result saveBjPcInfo(@RequestParam(value = "dataStr", required = false) String dataStr,@RequestBody UserDTO user);

    /**
     * 获取帮教 - 排查 - 信息
     * @param pp pp
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/getBjPcBaseInfo")
    Result getBjPcBaseInfo(@RequestParam(value = "pp", required = false) String pp);
}